package com.xf.system;

import com.xf.system.config.BaseWebBootstraper;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.oas.annotations.EnableOpenApi;

/**
 * @author xiefengf
 */

@Slf4j
@EnableOpenApi
@SpringBootApplication
@EnableAsync
@EnableScheduling
@EnableAspectJAutoProxy(exposeProxy = true)
@MapperScan("com.xf")
public class SystemApplication extends BaseWebBootstraper {

    public static void main(String[] args) {
        run(SystemApplication.class,args);
    }


}
